home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / science / ack3d.zip / WORX.H < prev    next >
C/C++ Source or Header  |  1994-01-09  |  3KB  |  100 lines

  1. /********************************************* 
  2.  *   WORX Sound Blaster Developers Toolkit   * 
  3.  *   Version 2.01(S) 07/16/93                * 
  4.  *   (c) 1993 by Mystic Software             * 
  5.  *   All rights reserved.                    * 
  6.  *********************************************/
  7.  
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11.  
  12. void StartWorx(void);
  13. void CloseWorx(void);
  14. int ForceConfig(int Port);
  15. int AdlibDetect(void);
  16.  
  17. void DSPClose(void);
  18. int DSPReset(void);
  19. int DSPPortSetting(void);
  20. int ResetMPU401(void);
  21.  
  22. int SetMasterVolume(unsigned char left,unsigned char right);
  23. int SetVOCVolume(unsigned char left,unsigned char right);
  24. int SetFMVolume(unsigned char left,unsigned char right);
  25.  
  26. int StartResource(char *f_name);
  27. long OpenElement(char *f_name);
  28. char *ElementGets(char *data,unsigned char maxlen);
  29. unsigned ElementRead(void far *buffer,unsigned int length);
  30.  
  31. void SetLoopMode(int m);
  32. void GoNote(unsigned char midi_channel,unsigned char note,unsigned char velo);
  33. void StopNote(unsigned char midi_channel,unsigned char note);
  34.  
  35. char far *GetSequence(char *f_name);
  36. char far *LoadOneShot(char *f_name);
  37. int LoadSBIFile(char *f_name,char pnum);
  38. void ProgramChange(int midi_channel,int program);
  39. int LoadIBKFile(char *f_name);
  40. char far *LoadPWMBlock(char *f_name);
  41.  
  42. int PlayPWMBlock(char far *pwm);
  43. int PlayVOCBlock(char far *voc,int volume);
  44. void PlayCMFBlock(char far *seq);
  45. void PlayMIDBlock(char far *seq);
  46. void PlayMODBlock(char far *seq);
  47. int PlayVOCFile(char *f_name,int volume);
  48. int PlayWAVBlock(char far *wav);
  49. int PlayWAVFile(char *f_name);
  50.  
  51. void ResetRealTime(void);
  52. int SetRealTime(int count);
  53. int TimerDone(void);
  54.  
  55. void ContinueSequence(void);
  56. void StopSequence(void);
  57. void StopVOC(void);
  58. void StopPWM(void);
  59. unsigned GetLastVOCMarker(void);
  60. void SetVOCIndex(unsigned x);
  61.  
  62. int SequencePlaying(void);
  63. int VOCPlaying(void);
  64. int PWMPlaying(void);
  65. int GetMIDIBeat(void);
  66.  
  67. void SetAudioMode(unsigned char Mode);
  68. void SetMIDISpeaker(unsigned char Channel);
  69.  
  70. int WorxPresent(void);
  71. void CloseWorxDriver(void);
  72.  
  73. int JoyStickY(void);
  74. int JoyStickX(void);
  75. int JoyStickButton(int num);
  76. void JoyStickUpdate(void);
  77. void EnableExtenderMode(void);
  78.  
  79. int RecordFlatFile(char *f_name,int samprate);
  80. int StopFlatRecord(void);
  81. int PlayFlatFile(char *f_name,int samprate);
  82. int ProcessFlatFile(void);
  83.  
  84. /********************************************* 
  85.  *   WORX+ Polyphonic Sample Player          * 
  86.  *   Version 1.0(H)  07/09/93                * 
  87.  *   (c) 1993 by Mystic Software             * 
  88.  *   All rights reserved.                    * 
  89.  *********************************************/
  90.  
  91. int StartPoly(void);
  92. void ClosePoly(void);
  93. int PlaySMPBlock(char *sample,int cell,int note);
  94. int PolyCellStatus(int cell);
  95.  
  96. #ifdef __cplusplus
  97. }
  98. #endif
  99.  
  100.